package com.cat.entity;

import com.cat.bean.BizWorkflowBean;

public class BizWorkflow implements java.io.Serializable {

	private static final long serialVersionUID = 8316274848670027153L;

	private Integer workflowId;
	private Integer deploymentId;
	private String workflowName;
	private String workflowDescribe;

	public BizWorkflow() {
	}

	public BizWorkflow(BizWorkflowBean bean) {
		this.deploymentId = Integer.parseInt(bean.getDeploymentId());
		this.workflowId = Integer.parseInt(bean.getWorkflowId());
		this.workflowDescribe = bean.getWorkflowDescribe();
		this.workflowName = bean.getWorkflowName();
	}

	public Integer getWorkflowId() {
		return workflowId;
	}

	public void setWorkflowId(Integer workflowId) {
		this.workflowId = workflowId;
	}

	public Integer getDeploymentId() {
		return deploymentId;
	}

	public void setDeploymentId(Integer deploymentId) {
		this.deploymentId = deploymentId;
	}

	public String getWorkflowDescribe() {
		return workflowDescribe;
	}

	public void setWorkflowDescribe(String workflowDescribe) {
		this.workflowDescribe = workflowDescribe;
	}

	public String getWorkflowName() {
		return workflowName;
	}

	public void setWorkflowName(String workflowName) {
		this.workflowName = workflowName;
	}

}
